import request from '@/utils/request';

// gasManage:stockManage:inventoryCountRecord:add
export function batchTakingRecord(data){
    return request({
        url: '/stock/takingRecord',
        method: 'post',
        data: data
    })
}

// gasManage:stockManage:inventoryCountRecord:list
export function searchTakingRecordApi(query){
    return request({
        url: '/stock/takingRecord/list',
        method: 'get',
        params: query
    })
}

// gasManage:stockManage:inventoryCountRecord:list
export function getBatchTakingById(id){
    return request({
        url: '/stock/takingRecord/'+id,
        method: 'get'
    })
}

//gasManage:stockManage:inventoryCountRecord:export
export function exportInventoryCountRecordApi(data) {
    return request({
        url: '/stock/takingRecord/export',
        method: 'post',
        data: data
    })
}